package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    void addDish(DishDTO dishDTO);

    PageResult pageByCondition(DishPageQueryDTO dqd);

    void deleteByIds(List<Long> ids);

    DishVO getDishWithFlavorByDishId(Long id);

    void updateDishWithFlavor(DishDTO dishDTO);

    List<DishVO> getByIdDish(Dish dish);
}
